package exampleQuestions;

public class ZigZag {

	/**
	 * Given a 2D array write a tight code to traverse it in zigzag manner.
	 */
	public static void main(String[] args) {
		
		 int[][] a ={{1,2,3,4,5},
                 {5,6,7,7,8},
                 {7,8,9,9,1},
                 {1,2,3,3,4}};
		 
		 printInZigZagManner(a);
		
	}

	private static void printInZigZagManner(int[][] a) {
		
		System.out.println(1 ^ 2);
		
	}

}
